import { post } from '@/api/http'

// 列表查询
export const getList = (data) => post({ url: '/vehiceFence/getList', data })

// 查询门店枚举
export const getSearchSite = (data) => post({ url: '/siteLease/searchSite', data })

// 修改状态
export const changeStatus = (data) => post({ url: '/vehiceFence/changeStatus', data })

// 围栏新增
export const addVehiceFence = (data) => post({ url: '/vehiceFence/create', data })

// 围栏详情
export const getDetail = (data) => post({ url: '/vehiceFence/detail', data })

// 围栏修改
export const updateVehiceFence = (data) => post({ url: '/vehiceFence/update', data })

// 获取应用车辆枚举
export const getLicenseNo = (data) => post({ url: '/carInfo/getLicenseNo', data })

// 根据上级和名称模糊匹配获取城市列表
export const getFindByNameAndParent = (data) => post({ url: '/area/findByNameAndParent', data })
